package com.flyduck.mall.cms.api;

import com.flyduck.mall.cms.api.vo.RemoteCartItemRespVO;
import com.flyduck.ss.common.core.domain.R;
import lombok.extern.slf4j.Slf4j;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * RemoteCartItemServiceMock
 * </p>
 *
 * @author flyduck
 * @since 2025-02-04
 */
@Slf4j
public class RemoteCartItemServiceMock implements RemoteCartItemService{
    @Override
    public List<RemoteCartItemRespVO> getCartItemListByIds(List<Long> ids) {
        log.error("服务调用异常 -> 降级处理 -> 获取购物车明细失败");
        return new ArrayList<>();
    }

    @Override
    public void deleteByIds(List<Long> ids) {
        log.error("服务调用异常 -> 降级处理 -> 删除购物车明细失败");
    }
}
